package com.shellyan.realtime.gmallpublisher.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Shelly An
 * @create 2020/9/12 14:11
 */
public class Stat {
    private String title;
    private List<Option> options = new ArrayList<>();

    public Stat() {
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public List<Option> getOptions() {
        return options;
    }

//    public void setOptions(List<Option> options) {
//        this.options = options;
//    }

    public void addOption(Option option){
        options.add(option);
    }
}
